package com.zxp.common.core.security.authorize;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer;

/**
 * // 请求都需要认证
 *  ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry =
 *      http.authorizeRequests()
 *                 .antMatchers("/login").permitAll();
 *
 * @author shollin
 * @desc
 * @date 2021/7/18/018 22:33
 */
public interface MyAuthorizationConfigurerService {

    void config(ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry config);
}
